import request from '@/utils/request'

// 查询刮胶报列表
export function listGlue(query) {
  return request({
    url: '/mes/fb/glue/list',
    method: 'get',
    params: query
  })
}

// 查询刮胶报详细
export function getGlue(recordId) {
  return request({
    url: '/mes/fb/glue/' + recordId,
    method: 'get'
  })
}

// 新增刮胶报
export function addGlue(data) {
  return request({
    url: '/mes/fb/glue',
    method: 'post',
    data: data
  })
}

// 修改刮胶报
export function updateGlue(data) {
  return request({
    url: '/mes/fb/glue',
    method: 'put',
    data: data
  })
}

// 删除刮胶报
export function delGlue(recordId) {
  return request({
    url: '/mes/fb/glue/' + recordId,
    method: 'delete'
  })
}
